import { Entity, Column, PrimaryGeneratedColumn, ManyToOne, JoinTable, PrimaryColumn, CreateDateColumn, UpdateDateColumn } from 'typeorm';
import { DefaultEntity } from '@type/common';
@Entity()
export class ProcurementCase extends DefaultEntity {
    @PrimaryColumn({
        comment: 'id',
        type: 'uuid'
    })
    id: string;
    @Column({
        type: 'varchar',
        length: 50,
        comment: '标题',
        nullable: false
    })
    title: string;
    @Column({
        type: 'longtext',
        comment: '文章内容',
        nullable: false
    })
    content: string;
    @Column({
        type: 'tinyint',
        comment: '状态0：正常，1：不可见，2：删除',
        default: 0
    })
    status: 0|1|2;
}